<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page language="java" import="java.text.SimpleDateFormat"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>无线环境位置协议识别系统</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="pattern/cm/theme/style/css.css" rel="stylesheet" type="text/css" />
</head>

<%if(session.getAttribute("username")==null||session.getAttribute("username")==""){ %>
<script type="text/javascript">
alert("你还没登陆！");
window.open("index.jsp","_top");
</script>

<% 
}else{
%>

<body>
<div id="header">
  <div style="background:url(pattern/cm/theme/images/logo001.png) no-repeat;">
    <div id="innerHeader">
      <div id="innerHeaders"><!--备用--></div>
      <div id="topguide">
        <ul id="topguide-entry">
       		<li id="program" onMouseOver="showguide(this.id);"><a href="javascript:" onClick="return initguide('program');">程序控制中心</a></li>
			<li id="feature" onMouseOver="showguide(this.id);"><a href="javascript:" onClick="return initguide('feature');">特征提取</a></li>
			<li id="frequent" onMouseOver="showguide(this.id);"><a href="javascript:" onClick="return initguide('frequent');">频繁串</a></li>
           	<li id="preamble" onMouseOver="showguide(this.id);"><a href="javascript:" onClick="return initguide('preamble');">前导码</a></li>
			<li id="association" onMouseOver="showguide(this.id);"><a href="javascript:" onClick="return initguide('association');">关联规则</a></li>
			<!--  
			<li id="strrec" onMouseOver="showguide(this.id);"><a href="javascript:" onClick="return initguide('strrec');">串识别率</a></li>
           	<li id="assrec" onMouseOver="showguide(this.id);"><a href="javascript:" onClick="return initguide('assrec');">关联识别率</a></li>
			<li id="strerrec" onMouseOver="showguide(this.id);"><a href="javascript:" onClick="return initguide('strerrec');">串误识别率</a></li>
        	<li id="asserrec" onMouseOver="showguide(this.id);"><a href="javascript:" onClick="return initguide('asserrec');">关联误识别率</a></li>
        	-->
        	<li id="all" onMouseOver="showguide(this.id);"><a href="javascript:" onClick="return initguide('all');">结果分析</a></li>
           	<li id="user" onMouseOver="showguide(this.id);"><a href="javascript:" onClick="return initguide('user');">用户管理</a></li>
        </ul>
      </div>
    </div>
    <div class="c"></div>
        <div id="guide">
    	<span class="fr s1" style="margin:0 16px">
    		当前日期-<%=new SimpleDateFormat("yyyy年MM月dd日").format(new Date()) %> | 用户: ${username}　级别:  ${type}　|　
    		<a class="s0" href="<%=path%>/logout.action">安全退出</a>
    	</span>
    	<div id="guidenavigate"></div>
    </div>
  </div>
</div>
<div id="selector">
  <div id="left" class="inner"></div>
</div>
<div id="gird">
  <div class="inner">
    <iframe name="main" frameborder="0" scrolling=yes style="height:85%;visibility:inherit;width:100%;z-index:1" src="default.jsp"></iframe>
  </div>
</div>
<div id="footer">
  <div id="innerFooter"></div>
</div>
<iframe name="notice" frameborder="0" style="height:0;width:0;"></iframe>
<div id="menu" style="display:none"></div>
<div id="showmenu" style="display:none"></div>
<script language="JavaScript" src="pattern/cm/theme/js/menumisc.js"></script> 
<script language="JavaScript" src="pattern/cm/theme/js/deployinit.js"></script>
</body>
<%
}
 %>

</html>

